import Vue from 'vue'
import Router from 'vue-router'

import Login from '../login'
import Index from '../index'
import CreateTournament from '../create-tournament'

Vue.use(Router)

export default new Router({
  // mode: 'history',
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    }, {
      path: '/login',
      name: 'Login',
      component: Login
    }, {
      path: '/create-tournament',
      component: CreateTournament
    }
  ]
})
